// config.js
const logger = require('./middleware/logger.js')
const auth = require('./middleware/auth.js')
module.exports = {
  debug: true, // 调试模式时，将返回 stack 错误堆栈
  baseDir: __dirname, // 必选，应用根目录
  middleware: [
		[
			auth(), 
			{ enable: true, match:['address','cart','order','pay','record','favorites',/getUser$/] },
		]
	],
};